package com.dc.system.model;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @Description: ApprovalModel 审批的模板
 * @Author: ChenXueLi
 * @Date: 2018-05-02 15:14
 */
public class ApprovalModel implements Serializable{

    /**
     * 主键id
     */
    private Integer model_id;

    /**
     * 审批模板的名称
     */
    private String name;

    /**
     * 审批人类别（0指定人，1指定职务，2指定部门）
     */
    private Integer approver_type;

    /**
     * 审批顺序（0顺序 1同步）
     */
    private Integer approval_order = 0;

    /**
     * 审批通过的类型(0全部通过才算通过 1一人通过就算通过 2按自定比例通过才算通过)
     */
    private Integer approval_pass_type = 0;

    /**
     * 通过需要的比例
     */
    private Double approval_pass_proportion;

    /**
     * 条件审批（多个条件用,分隔）
     */
    private String proviso_ids;

    /**
     * 创建人用户id
     */
    private int create_user_id;

    /**
     * 创建人用户名
     */
    private String create_user_name;

    /**
     * 创建时间
     */
    private Date create_time;

    /**
     * 更新人用户id
     */
    private int update_user_id;

    /**
     * 更新人用户名
     */
    private String update_user_name;

    /**
     * 更新时间
     */
    private Date update_time;

    /**
     * 0删除1存在
     */
    private int is_deleted;

    /**
     * 条件集合
     */
    private List<ApprovalProviso> proviso_approval_list;

    /**
     * 版本号
     */
    private int version;

    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }

    public Integer getModel_id() {
        return model_id;
    }

    public void setModel_id(Integer model_id) {
        this.model_id = model_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getApprover_type() {
        return approver_type;
    }

    public void setApprover_type(Integer approver_type) {
        this.approver_type = approver_type;
    }

    public Integer getApproval_order() {
        return approval_order;
    }

    public void setApproval_order(Integer approval_order) {
        this.approval_order = approval_order;
    }

    public Integer getApproval_pass_type() {
        return approval_pass_type;
    }

    public void setApproval_pass_type(Integer approval_pass_type) {
        this.approval_pass_type = approval_pass_type;
    }

    public Double getApproval_pass_proportion() {
        return approval_pass_proportion;
    }

    public void setApproval_pass_proportion(Double approval_pass_proportion) {
        this.approval_pass_proportion = approval_pass_proportion;
    }

    public String getProviso_ids() {
        return proviso_ids;
    }

    public void setProviso_ids(String proviso_ids) {
        this.proviso_ids = proviso_ids;
    }

    public List<ApprovalProviso> getProviso_approval_list() {
        return proviso_approval_list;
    }

    public void setProviso_approval_list(List<ApprovalProviso> proviso_approval_list) {
        this.proviso_approval_list = proviso_approval_list;
    }

    public int getCreate_user_id() {
        return create_user_id;
    }

    public void setCreate_user_id(int create_user_id) {
        this.create_user_id = create_user_id;
    }

    public String getCreate_user_name() {
        return create_user_name;
    }

    public void setCreate_user_name(String create_user_name) {
        this.create_user_name = create_user_name;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public int getUpdate_user_id() {
        return update_user_id;
    }

    public void setUpdate_user_id(int update_user_id) {
        this.update_user_id = update_user_id;
    }

    public String getUpdate_user_name() {
        return update_user_name;
    }

    public void setUpdate_user_name(String update_user_name) {
        this.update_user_name = update_user_name;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }

    public int getIs_deleted() {
        return is_deleted;
    }

    public void setIs_deleted(int is_deleted) {
        this.is_deleted = is_deleted;
    }
}
